using Nop.Core;
using Nop.Core.Domain.Localization;
using System.Collections.Generic;

namespace Nop.Plugin.Widgets.Ribbon.Domain
{
    /// <summary>
    /// Represents a page
    /// </summary>
    public partial class RibbonObject : BaseEntity, ILocalizedEntity
    {
        private ICollection<RibbonProduct> _ribbonProducts;

        /// <summary>
        /// Gets or sets the name
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the name
        /// </summary>
        public string Text { get; set; }

        /// <summary>
        /// Gets or sets the ribbon
        /// </summary>
        public string RibbonClass { get; set; }

         /// <summary>
        /// Gets or sets the div class
        /// </summary>
        public string TargetClass { get; set; }

        /// <summary>
        /// Gets or sets the div class
        /// </summary>
        public string RibbonColor { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether the entity is published
        /// </summary>
        public bool Published { get; set; }

        /// <summary>
        /// Gets or sets the collection of CarouselPicture
        /// </summary>
        public virtual ICollection<RibbonProduct> RibbonProducts
        {
            get { return _ribbonProducts ?? (_ribbonProducts = new List<RibbonProduct>()); }
            protected set { _ribbonProducts = value; }
        }    
    }
}